package org.sith.taskrunner.api;


import org.sith.taskrunner.api.task.Task;
import org.sith.taskrunner.api.task.TaskExecutionResult;
import org.sith.taskrunner.api.task.TaskInputData;

import java.io.Serializable;

public class TaskRunRequest implements Serializable{

    public static final String TASK_RUNNER_REQUEST = "taskRunnerRequest";
    private RequestID requestID;

    private TaskStateStatus stateStatus;

    private RunType runType;

    private Task task;

    private TaskInputData inputData;

    private TaskExecutionResult result;

    private Long runDateInMills;




    public RunType getRunType() {
        return runType;
    }

    public void setRunType(RunType runType) {
        this.runType = runType;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public TaskInputData getInputData() {
        return inputData;
    }

    public void setInputData(TaskInputData inputData) {
        this.inputData = inputData;
    }

    public TaskExecutionResult getResult() {
        return result;
    }

    public void setResult(TaskExecutionResult result) {
        this.result = result;
    }

    public TaskStateStatus getStateStatus() {
        return stateStatus;
    }

    public void setStateStatus(TaskStateStatus stateStatus) {
        this.stateStatus = stateStatus;
    }

    public RequestID getRequestID() {
        return requestID;
    }

    public void setRequestID(RequestID requestID) {
        this.requestID = requestID;
    }

    public Long getRunDateInMills() {
        return runDateInMills;
    }

    public void setRunDateInMills(Long runDateInMills) {
        this.runDateInMills = runDateInMills;
    }


}
